// $Id: network.h 54 2004-10-11 15:31:22Z jonas $
#ifndef NETWORK_H
#define NETWORK_H

#include <list>
#include "node.h"
using namespace std;

/**
 * The network owns all nodes and takes care of all the nodes transfers.
 */
class Network {
public:
	Network(list<Node *> *nodes) : m_nodes(nodes) {}
	virtual ~Network() {}

	virtual void transfer() = 0;

protected:
	list<Node *> *m_nodes;
};

#endif
